package com.yangrd.helper.crudhelper;

/**
 * crud-page-repository, sortable (memory-crud-page-repository, jdbc-crud-page-repository， compose-crud-page-repository)
 *  - CrudPage get(domain)
 *  - void put(domain, crudPage)
 *  - void delete(domain)
 *  - Page<CurdPage> finAll(pageable)
 *
 * crud-page-init-service (simple-crud-page-init-service)
 *  - void init(domainList)
 *  - void refresh(domain)
 *  - void refreshAll()
 *  - void destroy()
 *
 * crud-page-factory (amis-crud-page-factory)
 *  - CrudPage create(domain)
 *
 * crud-ctrl-service (jpa-repository-crud-ctrl-service)
 *  - T save(T)
 *  - void delete(id)
 *  - void put(id, T)
 *  - Page<T> findAll()
 *  - T get(id)
 *
 * spec-helper (jpa-repository-spec-helper)
 *  - Spec<T> toSpec(domainClass<T>, httpServletRequest)
 *
 * translate-service (bing-translate-service)
 * - String translateCN(english)
 *
 * crud-page-controller
 *  - void generate(domainList?init)
 *  - CrudPage get(domain)
 *  - void put(domain, curdPage)
 *  - CrudPage delete(domain)
 *  - Page<CrudPage> findAll(pageable)
 *
 * crud-ctrl-controller
 *  - T get(id)
 *  - void update(id,t)
 *  - T save(t)
 *  - void delete(id)
 *  - Page<T> findAll(pageable)
 **/